•Advanced Tags & Scripting

     DeskBots supports a number of tags which are primarily intended for the use of scripters.

<Halt>     Stops DeskBots' normal loop and speaks any other text in the phrase. Useful when you want total control over a DeskBots' actions for a period of time.

<Resume>     Restarts DeskBots' normal loop and speaks any other text in the phrase.

<SoundOff>     Temporarily deactivates the background sound. Does not effect preferences.

<SoundOn>     Temporarily activates the background sound. Does not effect preferences. Be careful to use this tag only once as multiple uses will cause the sound to be played on multiple channels.

<WindowMove>xx,yy     Moves the window to the given coordinates. Note that DeskBots does not perform any validation on the coordinates so it is possible to move the window offscreen. There should be no other text sent with this command.

<AddPhrase>     Adds a phrase to DeskBots internal phrase database. Do not send more than one line of text, and do not include a carriage return.

     You should be able to send AppleEvents directly to DeskBots in the following form:

     misc,TALK,'----':"Text of Phrase"

     Using OneClick you would send an event in the form:

     Process("DeskBots").SendAE "misc,TALK,'----':“Text of Phrase”"

     And, using AppleScript, you would use:

Tell Application "DeskBots"
  TALK "Text of Phrase"
End Tell